package com.wx.mall.goods.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TemplateUpdateReqVO {
    @ApiModelProperty("模板id")
    @NotNull(message = "模板id不能为空")
    private Integer id;
    @ApiModelProperty("模板名称")
    @NotBlank(message = "模板名称不能为空")
    private String name;
}
